package com.tjsiqi.dao;

import com.tjsiqi.Vo.WxOrderUnitVo;
import com.tjsiqi.beans.PageQuery;
import com.tjsiqi.model.WxOrderUnit;
import com.tjsiqi.param.SearchwxUnitsParam;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface WxOrderUnitMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(WxOrderUnit record);

    int insertSelective(WxOrderUnit record);

    WxOrderUnit selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(WxOrderUnit record);

    int updateByPrimaryKey(WxOrderUnit record);

    int countByParam(@Param("param") SearchwxUnitsParam param);

    List<WxOrderUnitVo> getWxOrderUnitsByParam(@Param("param")SearchwxUnitsParam param, @Param("page") PageQuery page);

}